[INFO] cloning repository https://github.com/goyox86/rust-chat
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/goyox86/rust-chat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoyox86%2Frust-chat", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoyox86%2Frust-chat'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e5f38f92f15e54225804a4d2eaf2d48067325a9c
[INFO] checking goyox86/rust-chat against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoyox86%2Frust-chat" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/goyox86/rust-chat on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/goyox86/rust-chat
[INFO] finished tweaking git repo https://github.com/goyox86/rust-chat
[INFO] tweaked toml for git repo https://github.com/goyox86/rust-chat written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/goyox86/rust-chat already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/carllerche/mio`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ntapi v0.3.4
[INFO] [stderr]   Downloaded http-muncher v0.2.5
[INFO] [stderr]   Downloaded sha1 v0.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] b2e1227644b8089a9d14bc236090a678c50035ecbb8452d4e084e199920f31bc
[INFO] running `Command { std: "docker" "start" "-a" "b2e1227644b8089a9d14bc236090a678c50035ecbb8452d4e084e199920f31bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b2e1227644b8089a9d14bc236090a678c50035ecbb8452d4e084e199920f31bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b2e1227644b8089a9d14bc236090a678c50035ecbb8452d4e084e199920f31bc", kill_on_drop: false }`
[INFO] [stdout] b2e1227644b8089a9d14bc236090a678c50035ecbb8452d4e084e199920f31bc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 338849bbbee3622f92d07c0e51b4810ed27cf98af304f9b5361f83b8178d0b9e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "338849bbbee3622f92d07c0e51b4810ed27cf98af304f9b5361f83b8178d0b9e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]     Checking sha1 v0.1.1
[INFO] [stderr]    Compiling http-muncher v0.2.5
[INFO] [stderr]     Checking mio v0.7.0 (https://github.com/carllerche/mio#eef8d3b9)
[INFO] [stderr]     Checking chat v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `mio::tcp`
[INFO] [stdout]  --> src/main.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | use mio::tcp::*;
[INFO] [stdout]   |          ^^^ could not find `tcp` in `mio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]   --> src/main.rs:82:45
[INFO] [stdout]    |
[INFO] [stdout] 82 | ...                   EventSet::readable(),
[INFO] [stdout]    |                       ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]   --> src/main.rs:83:45
[INFO] [stdout]    |
[INFO] [stdout] 83 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]    |                       ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]   --> src/main.rs:83:63
[INFO] [stdout]    |
[INFO] [stdout] 83 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]    |                                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]   --> src/main.rs:89:43
[INFO] [stdout]    |
[INFO] [stdout] 89 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]    |                       ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]   --> src/main.rs:89:61
[INFO] [stdout]    |
[INFO] [stdout] 89 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]    |                                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]   --> src/main.rs:98:35
[INFO] [stdout]    |
[INFO] [stdout] 98 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]    |                       ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]   --> src/main.rs:98:53
[INFO] [stdout]    |
[INFO] [stdout] 98 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]    |                                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:133:46
[INFO] [stdout]     |
[INFO] [stdout] 133 |                         self.interest.remove(EventSet::readable());
[INFO] [stdout]     |                                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:134:46
[INFO] [stdout]     |
[INFO] [stdout] 134 |                         self.interest.insert(EventSet::writable());
[INFO] [stdout]     |                                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:161:30
[INFO] [stdout]     |
[INFO] [stdout] 161 |         self.interest.remove(EventSet::writable());
[INFO] [stdout]     |                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:162:30
[INFO] [stdout]     |
[INFO] [stdout] 162 |         self.interest.insert(EventSet::readable());
[INFO] [stdout]     |                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:175:23
[INFO] [stdout]     |
[INFO] [stdout] 175 |             interest: EventSet::readable(),
[INFO] [stdout]     |                       ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TcpSocket`
[INFO] [stdout]    --> src/main.rs:184:25
[INFO] [stdout]     |
[INFO] [stdout] 184 |     let server_socket = TcpSocket::v4().unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^ use of undeclared type or module `TcpSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventLoop`
[INFO] [stdout]    --> src/main.rs:189:26
[INFO] [stdout]     |
[INFO] [stdout] 189 |     let mut event_loop = EventLoop::new().unwrap();
[INFO] [stdout]     |                          ^^^^^^^^^ use of undeclared type or module `EventLoop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mio::tcp`
[INFO] [stdout]  --> src/main.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | use mio::tcp::*;
[INFO] [stdout]   |          ^^^ could not find `tcp` in `mio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:199:28
[INFO] [stdout]     |
[INFO] [stdout] 199 | ...                   EventSet::readable(),
[INFO] [stdout]     |                       ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:200:28
[INFO] [stdout]     |
[INFO] [stdout] 200 | ...                   PollOpt::edge()).unwrap();
[INFO] [stdout]     |                       ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope
[INFO] [stdout]   --> src/main.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |     socket: TcpListener,
[INFO] [stdout]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 6  | use std::net::TcpListener;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope
[INFO] [stdout]   --> src/main.rs:58:6
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl Handler for WebSocketServer {
[INFO] [stdout]    |      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope
[INFO] [stdout]   --> src/main.rs:62:42
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn ready(&mut self, event_loop: &mut EventLoop<WebSocketServer>,
[INFO] [stdout]    |                                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope
[INFO] [stdout]   --> src/main.rs:63:35
[INFO] [stdout]    |
[INFO] [stdout] 63 |             token: Token, events: EventSet) {
[INFO] [stdout]    |                                   ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stdout]    --> src/main.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 112 |     socket: TcpStream,
[INFO] [stdout]     |             ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 6   | use std::net::TcpStream;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope
[INFO] [stdout]    --> src/main.rs:115:15
[INFO] [stdout]     |
[INFO] [stdout] 115 |     interest: EventSet,
[INFO] [stdout]     |               ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stdout]    --> src/main.rs:165:20
[INFO] [stdout]     |
[INFO] [stdout] 165 |     fn new(socket: TcpStream) -> WebSocketClient {
[INFO] [stdout]     |                    ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 6   | use std::net::TcpStream;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 24 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chat`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]   --> src/main.rs:82:45
[INFO] [stdout]    |
[INFO] [stdout] 82 | ...                   EventSet::readable(),
[INFO] [stdout]    |                       ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]   --> src/main.rs:83:45
[INFO] [stdout]    |
[INFO] [stdout] 83 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]    |                       ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]   --> src/main.rs:83:63
[INFO] [stdout]    |
[INFO] [stdout] 83 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]    |                                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]   --> src/main.rs:89:43
[INFO] [stdout]    |
[INFO] [stdout] 89 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]    |                       ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]   --> src/main.rs:89:61
[INFO] [stdout]    |
[INFO] [stdout] 89 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]    |                                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]   --> src/main.rs:98:35
[INFO] [stdout]    |
[INFO] [stdout] 98 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]    |                       ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]   --> src/main.rs:98:53
[INFO] [stdout]    |
[INFO] [stdout] 98 | ...                   PollOpt::edge() | PollOpt::oneshot()).unwrap();
[INFO] [stdout]    |                                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:133:46
[INFO] [stdout]     |
[INFO] [stdout] 133 |                         self.interest.remove(EventSet::readable());
[INFO] [stdout]     |                                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:134:46
[INFO] [stdout]     |
[INFO] [stdout] 134 |                         self.interest.insert(EventSet::writable());
[INFO] [stdout]     |                                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:161:30
[INFO] [stdout]     |
[INFO] [stdout] 161 |         self.interest.remove(EventSet::writable());
[INFO] [stdout]     |                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:162:30
[INFO] [stdout]     |
[INFO] [stdout] 162 |         self.interest.insert(EventSet::readable());
[INFO] [stdout]     |                              ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:175:23
[INFO] [stdout]     |
[INFO] [stdout] 175 |             interest: EventSet::readable(),
[INFO] [stdout]     |                       ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TcpSocket`
[INFO] [stdout]    --> src/main.rs:184:25
[INFO] [stdout]     |
[INFO] [stdout] 184 |     let server_socket = TcpSocket::v4().unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^ use of undeclared type or module `TcpSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventLoop`
[INFO] [stdout]    --> src/main.rs:189:26
[INFO] [stdout]     |
[INFO] [stdout] 189 |     let mut event_loop = EventLoop::new().unwrap();
[INFO] [stdout]     |                          ^^^^^^^^^ use of undeclared type or module `EventLoop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stdout]    --> src/main.rs:199:28
[INFO] [stdout]     |
[INFO] [stdout] 199 | ...                   EventSet::readable(),
[INFO] [stdout]     |                       ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stdout]    --> src/main.rs:200:28
[INFO] [stdout]     |
[INFO] [stdout] 200 | ...                   PollOpt::edge()).unwrap();
[INFO] [stdout]     |                       ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope
[INFO] [stdout]   --> src/main.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |     socket: TcpListener,
[INFO] [stdout]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 6  | use std::net::TcpListener;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope
[INFO] [stdout]   --> src/main.rs:58:6
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl Handler for WebSocketServer {
[INFO] [stdout]    |      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope
[INFO] [stdout]   --> src/main.rs:62:42
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn ready(&mut self, event_loop: &mut EventLoop<WebSocketServer>,
[INFO] [stdout]    |                                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope
[INFO] [stdout]   --> src/main.rs:63:35
[INFO] [stdout]    |
[INFO] [stdout] 63 |             token: Token, events: EventSet) {
[INFO] [stdout]    |                                   ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stdout]    --> src/main.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 112 |     socket: TcpStream,
[INFO] [stdout]     |             ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 6   | use std::net::TcpStream;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope
[INFO] [stdout]    --> src/main.rs:115:15
[INFO] [stdout]     |
[INFO] [stdout] 115 |     interest: EventSet,
[INFO] [stdout]     |               ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stdout]    --> src/main.rs:165:20
[INFO] [stdout]     |
[INFO] [stdout] 165 |     fn new(socket: TcpStream) -> WebSocketClient {
[INFO] [stdout]     |                    ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 6   | use std::net::TcpStream;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 24 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "338849bbbee3622f92d07c0e51b4810ed27cf98af304f9b5361f83b8178d0b9e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "338849bbbee3622f92d07c0e51b4810ed27cf98af304f9b5361f83b8178d0b9e", kill_on_drop: false }`
[INFO] [stdout] 338849bbbee3622f92d07c0e51b4810ed27cf98af304f9b5361f83b8178d0b9e
